﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.BaseService.Contract.Studio.Exceptions
{
    /// <summary>
    /// 参数未发现异常
    /// </summary>
    public class SerializableParameterNotFoundException : Exception
    {
        public SerializableParameterNotFoundException(string parameterName)
            : base("The specified serializable parameter '" + parameterName + "' was not found.")
        {
            this.ParameterName = parameterName;
        }

        /// <summary>
        /// 参数名称
        /// </summary>
        public string ParameterName
        {
            get;
            private set;
        }
    }
}
